<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page session="true"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/jquery.mobile-1.4.2.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/app.css">
<script
	src="${pageContext.request.contextPath}/resources/js/jquery-1.11.0.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/jquery.mobile-1.4.2.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/jquery.validate.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/validacion.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/waitForIt.js"></script>

<style>
.error {
	font-family: calibri;
	font-size: 18px;
	color: red;
}
</style>
<title>Ingreso de Usuarios</title>
</head>

<body>
	<div data-role="page" data-ajax="false" data-theme="a" d>
		<div data-role="header">
			<h1>Subir Archivo</h1>
		</div>
		<div role="main" class="ui.content">


			<div class="centered-content">


				<form action="data_upload" method="POST" enctype="multipart/form-data" data-ajax="false">
					<select name="tipo">
						<option value="1">Propiedades</option>
						<option value="2">Personas</option>
					</select>
					<input type="file" name="file"/>					
					<button type="submit" data-ajax="false">Enviar</button>
				</form>
			</div>
		</div>
	</div>

</body>
</html>


